// hapk.c — Silent kill
#include <stdio.h>
#include <stdlib.h>

int main() {
    FILE *cmd = popen("pgrep -f hiddenAudioPlayer", "r");
    if (!cmd) return 1;

    int pid;
    if (fscanf(cmd, "%d", &pid) == 1) {
        char kill_cmd[64];
        snprintf(kill_cmd, sizeof(kill_cmd), "kill %d", pid);
        system(kill_cmd);
    }

    pclose(cmd);
    return 0;
}
